body {
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 10;
    text-align: center;
    padding: 1em 0;
    pointer-events: none;
}

header h1 {
    margin: 0.5em 0 0.3em 0;
}

.home-button {
    background-color: transparent;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    padding: 10px 20px;
    color: black;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    pointer-events: auto;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-button:hover {
    text-decoration: underline;
}

/* --- HERZ-ANIMATION --- */
.heart-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    transition: opacity 1.9s ease;
    z-index: 100;
}

.heart {
    width: 200px;
    height: 200px;
}

.heart path {
    fill: none;
    stroke: black;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawHeart 40s linear forwards;
}

@keyframes drawHeart {
    to {
        stroke-dashoffset: 0;
    }
}

.fade-out {
    opacity: 0;
}

/* --- FADE TRANSITIONS --- */
.hidden {
    opacity: 0;
    pointer-events: none;
}

.show {
    opacity: 1;
    transition: opacity 1.5s ease;
    pointer-events: auto;
}

/* Langsameres Einblenden für Hauptinhalt/Bild */
#main-content.show {
    transition: opacity 3s ease;
}

/* --- HAUPTINHALT --- */
#main-content,
.main-content-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    box-sizing: border-box;
}

.content-wrapper {
    width: 90%;
    max-width: 1400px;
    height: auto;
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em 0;
}

/* Bild-Container */
.image-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 2;
}

.image-container.shifted {
    left: 25%;
    transform: translate(-50%, -50%);
}

.image-container img {
    max-width: 40vw;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: transform 0.3s ease;
    will-change: transform;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-container:active img {
    transform: scale(1.03);
}

/* Text-Container */
.text-container {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease 0.4s;
    scrollbar-width: thin;
}

.text-container::-webkit-scrollbar {
    width: 6px;
}

.text-container::-webkit-scrollbar-track {
    background: transparent;
}

.text-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.text-container.visible {
    opacity: 1;
    pointer-events: auto;
}

.text-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.bullet-point {
    width: 12px;
    height: 12px;
    background-color: black;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.text-block {
    flex: 1;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.6;
}

.text-block p {
    margin: 0 0 1em 0;
}
canvas {
    max-width: 40vw;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    border: 0px solid #ddd; /* Optional: Rahmen */
}


/* Responsive: Tablet */
@media (max-width: 1024px) {
    #main-content,
    .main-content-section {
        padding-top: 110px;
        min-height: 100vh; /* Reduziert für kompaktere Darstellung */
    }
    
    .content-wrapper {
        min-height: 70vh;
        padding: 1em 0;
    }
    
    .image-container.shifted {
        left: -50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .image-container img {
        max-width: 75vw;
        max-height: 70vh;
    }
    
    .text-container {
        top: 50%;
        left: 5%;
        right: 5%;
        width: 90%;
        transform: translateY(-50%);
        max-height: 70vh;
        overflow-y: auto;
        padding-right: 10px;
    }
	    canvas {
        max-width: 75vw;
        max-height: 70vh;
}

/* Responsive: Handy */
@media (max-width: 600px) {
    header {
        padding: 0.4em 0;
    }
    
    header h1 {
        font-size: 1.1rem;
        margin: 0.2em 0;
    }
    
    .home-button {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
    
    #main-content,
    .main-content-section {
        padding-top: 60px;
        min-height: 80vh; /* Reduziert für weniger Abstand zwischen Sektionen */
    }
    
    .content-wrapper {
        min-height: 70vh;
        padding: 0.5em 0;
    }
    
    .image-container.shifted {
        left: -50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .image-container img {
        max-width: 75vw;
        max-height: 70vh;
    }
    
    .text-block {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .text-block p {
        margin: 0 0 0.7em 0;
    }
    
    .text-container {
        top: 50%;
        left: 5%;
        right: 5%;
        width: 90%;
        transform: translateY(-50%);
        max-height: 68vh;
        overflow-y: auto;
        padding-right: 10px;
    }
    
    .text-section {
        gap: 15px;
    }
    
    .bullet-point {
        margin-top: 4px;
        width: 10px;
        height: 10px;
    }
	    canvas {
        max-width: 75vw;
        max-height: 70vh;
			 }
